export const state = () => ({
  searchQuery: ''
})

export const mutations = {
  setSearchQuery (state, query) {
    state.searchQuery = query
  }
}

export const actions = {
  updateSearchQuery ({ commit }, query) {
    commit('setSearchQuery', query)
  }
} 